package org.jeecg.modules.rooms.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 水电煤设置
 * </p>
 *
 * @author fendo
 * @since 2023-03-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ces_hydropower_coal")
public class CesHydropowerCoal extends Model<CesHydropowerCoal> {

    private static final long serialVersionUID = 1L;

    private String id;

    private String hotelId;

    private String name;

    private Boolean appState;

    private BigDecimal price;

    private String bandId;

    /**
     * 创建时间
     */
    @TableField("creatAt")
    private LocalDateTime creatAt;

    /**
     * 修改时间
     */
    @TableField("updateAt")
    private LocalDateTime updateAt;

    /**
     * 逻辑删除字段
     */
    private Boolean invalid;


    public static final String ID = "id";

    public static final String HOTEL_ID = "hotel_id";

    public static final String NAME = "name";

    public static final String APP_STATE = "app_state";

    public static final String PRICE = "price";

    public static final String BAND_ID = "band_id";

    public static final String CREATAT = "creatAt";

    public static final String UPDATEAT = "updateAt";

    public static final String INVALID = "invalid";

    @Override
    public Serializable pkVal() {
        return this.id;
    }

}
